<!DOCTYPE html>
<html>
    <head>
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>    
        <meta name="robots" content="index, follow" />     
        <meta charset="utf-8">
        <meta http-equiv="Cache-Control" content="no-store" />
		<base href="<?php echo app()->getBaseUrl(true)?>"></base>
        <?php $themeUrl = Yii::app()->theme->baseUrl; ?>
        <link rel="shortcut icon" type="image/png" id="favicon" href="<?php echo $themeUrl; ?>/images/favicon.ico"/>
        <link type="text/css" href="<?php echo $themeUrl; ?>/css/core.css" rel="stylesheet" media="all" />
        <link type="text/css" href="<?php echo $themeUrl; ?>/css/main.css" rel="stylesheet" media="all" />
        <!--[if IE]>
            <link type="text/css" href="<?php echo $themeUrl; ?>/css/fixie.css" rel="stylesheet" />
        <![endif]-->    
        <!--[if IE 7]>
            <link type="text/css" href="<?php echo $themeUrl; ?>/css/fixie7.css" rel="stylesheet" />
        <![endif]-->        
        <?php
        cs()->registerScriptFile($themeUrl . '/js/jquery-1.7.2.min.js');
        ?>
    </head>
    <body>     
        <div id="wrapper">
            <div id="container">                
                <div id="body" class="container" style="padding-top:0;">
                    <div id="content">
                    	<?php if ($this->pageHeader != '') : ?>                        
                        <div id="titlebar" class="titlebar">                            
                            <h1><?php echo $this->pageHeader ?></h1>
                        </div>
                        <?php endif;?>
                        <div class="main-content">
                            <?php echo $content; ?>                        
                        </div>                    
                    </div>                
                </div>
            </div>
        </div>        
    </body>
</html>

